package com.example.warehouse.mapper;


import com.example.warehouse.entity.InventoryLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InventoryLogMapper {
    // 插入库存调整日志
    void insertInventoryLog(InventoryLog inventoryLog);

    // 批量插入库存变动日志
    void insertInventoryLogBatch(@Param("inventoryLogList") List<InventoryLog> inventoryLogList);
}